package cn.edu.neu.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.edu.neu.mapper.SystemsetMapper;
import cn.edu.neu.model.Systemset;

import cn.edu.neu.service.SystemsetService;

@Service
@Transactional 
public class SystemsetServiceImpl implements SystemsetService {

	@Resource
	private SystemsetMapper sysmapper;
	
	@Override
	public List<Systemset> getOneset() {
		List<Systemset> oneset=sysmapper.FindOneset();
		return oneset;
	}

	@Override
	public List<Systemset> getMemGname() {
		List<Systemset> sysmgname=sysmapper.FindSysGname();
		return sysmgname;
	}

	@Override
	public Systemset findtuijianmoney(String mg_id) {
		// TODO Auto-generated method stub
		return sysmapper.findtuijianmoney(mg_id);
	}

	@Override
	public Systemset findgmgn(String grade, String member_grade_name) {
		// TODO Auto-generated method stub
		return sysmapper.findgmgn(grade,member_grade_name);
	}

	@Override
	public String getxiadai(String grade, String mg_id) {
		String xiadai=sysmapper.FindXiaDai(grade,mg_id);
		return xiadai;
	}

}
